package com.bootdo.lgs.lgsInterfaces.jzy.proxy;

import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Level;
import java.util.logging.Logger;

@WebServiceClient(
        name = "LogisticsService",
        wsdlLocation = "http://jzy.haolei.gd.cn:8001/LogisticsService.asmx?wsdl",
        targetNamespace = "http://www.jzy56.net/"
)
public class LogisticsService extends Service {
    public static final URL WSDL_LOCATION;
    public static final QName SERVICE = new QName("http://www.jzy56.net/", "LogisticsService");
    public static final QName LogisticsServiceSoap = new QName("http://www.jzy56.net/", "LogisticsServiceSoap");
    public static final QName LogisticsServiceSoap12 = new QName("http://www.jzy56.net/", "LogisticsServiceSoap12");
    public static final QName LogisticsServiceHttpGet = new QName("http://www.jzy56.net/", "LogisticsServiceHttpGet");
    public static final QName LogisticsServiceHttpPost = new QName("http://www.jzy56.net/", "LogisticsServiceHttpPost");

    public LogisticsService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public LogisticsService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public LogisticsService() {
        super(WSDL_LOCATION, SERVICE);
    }

    public LogisticsService(WebServiceFeature... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public LogisticsService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, SERVICE, features);
    }

    public LogisticsService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
        super(wsdlLocation, serviceName, features);
    }

    @WebEndpoint(
            name = "LogisticsServiceSoap"
    )
    public LogisticsServiceSoap getLogisticsServiceSoap() {
        return (LogisticsServiceSoap)super.getPort(LogisticsServiceSoap, LogisticsServiceSoap.class);
    }

    @WebEndpoint(
            name = "LogisticsServiceSoap"
    )
    public LogisticsServiceSoap getLogisticsServiceSoap(WebServiceFeature... features) {
        return (LogisticsServiceSoap)super.getPort(LogisticsServiceSoap, LogisticsServiceSoap.class, features);
    }

    @WebEndpoint(
            name = "LogisticsServiceSoap12"
    )
    public LogisticsServiceSoap getLogisticsServiceSoap12() {
        return (LogisticsServiceSoap)super.getPort(LogisticsServiceSoap12, LogisticsServiceSoap.class);
    }

    @WebEndpoint(
            name = "LogisticsServiceSoap12"
    )
    public LogisticsServiceSoap getLogisticsServiceSoap12(WebServiceFeature... features) {
        return (LogisticsServiceSoap)super.getPort(LogisticsServiceSoap12, LogisticsServiceSoap.class, features);
    }

    @WebEndpoint(
            name = "LogisticsServiceHttpGet"
    )
    public LogisticsServiceHttpGet getLogisticsServiceHttpGet() {
        return (LogisticsServiceHttpGet)super.getPort(LogisticsServiceHttpGet, LogisticsServiceHttpGet.class);
    }

    @WebEndpoint(
            name = "LogisticsServiceHttpGet"
    )
    public LogisticsServiceHttpGet getLogisticsServiceHttpGet(WebServiceFeature... features) {
        return (LogisticsServiceHttpGet)super.getPort(LogisticsServiceHttpGet, LogisticsServiceHttpGet.class, features);
    }

    @WebEndpoint(
            name = "LogisticsServiceHttpPost"
    )
    public LogisticsServiceHttpPost getLogisticsServiceHttpPost() {
        return (LogisticsServiceHttpPost)super.getPort(LogisticsServiceHttpPost, LogisticsServiceHttpPost.class);
    }

    @WebEndpoint(
            name = "LogisticsServiceHttpPost"
    )
    public LogisticsServiceHttpPost getLogisticsServiceHttpPost(WebServiceFeature... features) {
        return (LogisticsServiceHttpPost)super.getPort(LogisticsServiceHttpPost, LogisticsServiceHttpPost.class, features);
    }

    static {
        URL url = null;

        try {
            url = new URL("http://jzy.haolei.gd.cn:8001/LogisticsService.asmx?wsdl");
        } catch (MalformedURLException var2) {
            Logger.getLogger(LogisticsService.class.getName()).log(Level.INFO, "Can not initialize the default wsdl from {0}", "http://jzy.haolei.gd.cn:8001/LogisticsService.asmx?wsdl");
        }

        WSDL_LOCATION = url;
    }
}
